package org.dromara.xhlj.domain.bo;

import org.dromara.xhlj.domain.XhljEnterpriseProduct;
import lombok.*;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.*;
import java.math.BigDecimal;

import java.util.Date;
import java.io.Serial;
import java.io.Serializable;

/**
 * 展商产品业务对象 xhlj_enterprise_product
 *
 * @author yf
 * @date 2024-07-28
 */
@Data
@AutoMapper(target = XhljEnterpriseProduct.class, reverseConvertGenerate = false)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class XhljEnterpriseProductBo extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 产品ID
     */
    @NotNull(message = "产品ID不能为空", groups = {EditGroup.class})
    private Integer productId;
    /**
     * 产品名称
     */
    private String productName;
    /**
     * 展商ID
     */
    private Integer enterpriseId;
    /**
     * 产品描述
     */
    private String productContent;
    /**
     * 图片
     */
    private String image;
    /**
     * 图片描述
     */
    private String imageDescription;
    /**
     * 视频
     */
    private String videoFile;
    /**
     * 视频描述
     */
    private String videoDescription;
    /**
     * 产品类型（0=软件，1=硬件，2=服务）
     */
    private String productType;
    /**
     * 产品价格
     */
    private BigDecimal price;
    /**
     * 创建人sys_user（展商）
     */
     private Integer createBy;
}
